var tests = {
	imageCnt : 1,	
    imageFeedCallback : function() {
		images.addImage(tests.imageCnt);
		if(this.imageCnt < 15) {
			this.startImageFeed();
		} 
		this.imageCnt ++;
	},

	startImageFeed : function() {
		window.setTimeout("tests.imageFeedCallback()", 200); 
	},

	textCnt : 1,
	textTestFeed : [
		'<span class="time">(10:32)</span> <span class="player">27-B.Jacobs</span> left tackle to NYG 26 for 3 yards (<span class="player">96-A.Thomas</span>)',
		'<span class="time">(11:17)</span> <span class="player">27-B.Jacobs</span> up the middle to NYG 28 for 2 yards (<span class="player">75-V.Wilfork</span>, <span class="player">94-T.Warren</span>)',
		'<span class="time">(12:03)</span> (Shotgun) <span class="player">10-E.Manning</span> pass short middle to 17-P.Burress to NYG 42 for 14 yards (<span class="player">36-J.Sanders</span>)',
		'<span class="time">(12:57)</span> <span class="player">10-E.Manning</span> pass short left to <span class="player">39-M.Hedgecock</span> to NYG 45 for 3 yards (55-J.Seau)',
		'<span class="time">(13:28)</span> <span class="player">27-B.Jacobs</span> right tackle to NYG 46 for 1 yard (<span class="player">94-T.Warren</span>)',
		'<span class="time">(14:14)</span> (Shotgun) <span class="player">10-E.Manning</span> pass short left to <span class="player">12-S.Smith</span> to NE 46 for 8 yards (<span class="player">37-R.Harrison</span>). <span class="player">NE-21-R.Gay</span> was injured during the play',
		'<span class="time">(14:18)</span> <span class="player">27-B.Jacobs</span> left tackle to NE 39 for 7 yards (<span class="player">36-J.Sanders</span>, <span class="player">94-T.Warren)</span>'
	],
    textFeedCallback : function() {
		text.addText(tests.textTestFeed[this.textCnt - 1]);
		if(this.textCnt < 7) {
			this.startTextFeed();
		} 
		this.textCnt ++;
	},

	startTextFeed : function() {
		window.setTimeout("tests.textFeedCallback()", 1200); 
	},

	initTests : function() {
		this.startImageFeed();
		this.startTextFeed();		
	}
}

